package com.bjbn.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 分页查询设备列表请求DTO
 *
 * @author bjbn
 */
@Schema(description = "分页查询设备列表请求")
@Data
public class IotDeviceListRequest {

    @Schema(description = "产品ID", required = true, example = "10635742")
    private Long productId;

    @Schema(description = "产品masterKey", required = true, example = "f3cd3510cb324600b942aae37cbcff57")
    private String masterKey;

    @Schema(description = "搜索值类型 1.设备ID 2.设备编号或IMEI 3.设备名称（前缀匹配）", required = true, example = "3")
    private Integer type;

    @Schema(description = "搜索值", required = true, example = "测试")
    private String searchValue;

    @Schema(description = "当前页", example = "1")
    private Integer pageNow;

    @Schema(description = "页大小", example = "10")
    private Integer pageSize;

    @Schema(description = "排序字段", example = "deviceId")
    private String sortField;

    @Schema(description = "接口版本(对方接口版本会升级)", example = "20250915135221")
    private String apiVersion;


} 